- name: Set up all that fedora-web goodness.  What a wonder!
  hosts: proxies-stg:proxies
  user: root
  gather_facts: True

  vars_files:
   - /srv/web/infra/ansible/vars/global.yml
   - "/srv/private/ansible/vars.yml"
   - /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml

  handlers:
  - import_tasks: "{{ handlers_path }}/restart_services.yml"

  roles:

  - role: fedora-web/main
    website: fedoraproject.org
  - role: fedora-web/spins
    website: spins.fedoraproject.org
  - role: fedora-web/start
    website: start.fedoraproject.org
  - role: fedora-web/boot
    website: boot.fedoraproject.org
  - role: fedora-web/mirrors
    website: mirrors.fedoraproject.org
  - role: fedora-web/communityblog
    website: communityblog.fedoraproject.org
  - role: fedora-web/community
    website: fedoracommunity.org
  - role: fedora-web/fudcon
    website: fudcon.fedoraproject.org
  - role: fedora-web/magazine
    website: fedoramagazine.org
  - role: fedora-web/getfedora
    website: getfedora.org
  - role: fedora-web/flocktofedora
    website: flocktofedora.org
  - role: fedora-web/labs
    website: labs.fedoraproject.org
  - role: fedora-web/arm
    website: arm.fedoraproject.org
  - role: fedora-web/registry
    website: registry.fedoraproject.org
  - role: fedora-web/candidate-registry
    website: candidate-registry.fedoraproject.org
  - role: fedora-web/codecs
    website: codecs.fedoraproject.org
  - role: fedora-web/alt
    website: alt.fedoraproject.org
  - role: fedora-web/src
    website: src.fedoraproject.org
  - role: fedora-web/whatcanidoforfedora
    website: whatcanidoforfedora.org

  # Some other static content, not strictly part of "fedora-web" goes below here
  - role: fedora-budget/proxy
    website: budget.fedoraproject.org

  - role: fedora-docs/proxy
    website: docs.fedoraproject.org

  - role: fedora-docs-old/proxy
    website: docs-old.fedoraproject.org

  - role: developer/website
    website: developer.fedoraproject.org
